package com.github.tangyi.api.user.model;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.github.tangyi.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.validation.constraints.NotBlank;

/**
 * 短信发送记录 sys_sms_record
 */
@Data
@Table(name = "sys_sms_record")
@EqualsAndHashCode(callSuper = true)
public class SysSmsRecord extends BaseEntity<SysSmsRecord> {

    /**
     * 手机
     */
    @Column(name = "phone")
    private String phone;

    /**
     * 消息内容
     */
    @Column(name = "content")
    private String content;
    /**
     * 消息响应
     */
    @Column(name = "response_str")
    private String responseStr;
}